package pers.archives.auth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pers.archives.common.entity.UserRole;

/* 操作数据库用户与角色关联表
 *@program:archives-parent
 *@author: 赵浩浩
 *@Time: 2020/10/1  18:17
 */
@Mapper
public interface UserRoleMapper {

    /**
     * 添加用户与角色关联记录
     * @param userRole
     * @return
     */
    int addUserRole(@Param("userRole") UserRole userRole);
}
